<%@ include file="includeTop.jsp" %>
<html>
<head>
<title></title>
<%@ include file="includeTop_head.jsp" %>
</head>
<body>
<table width="100%" height="100%" border=0>
<Tr><td width=150></td><Td align="center"><%@ include file="title.jsp"%></Td></Tr>
<tr><td width=150></td><td height=400 valign="top" colspan="2">
<table>
	<tr>
		<td width="50%" valign="top">
		<form action="<%=request.getContextPath()%>/register.do" method="POST">
		<div class="red" width="400" height="500" align="right">
		<table width="400" height="200">
			<tr>
				<th colspan="2" height="30">New Customer</th>
			</tr>
			<% String msg = (String)request.getAttribute("msg.reg.fail");
			   if(null != msg){
			%><tr><td colspan="2" style="color:#ff0000"><%=request.getAttribute("msg.reg.fail")%></td></tr><%       
			   }
			%>
			<tr>
				<td width="120" align="right">User Name:</td>
				<td><input type="text" name="username" value="" /></td>
			</tr>
			<tr>
				<td align="right">Password:</td>
				<td><input type="password" name="password" value="" /></td>
			</tr>
			<tr>
				<td align="right">Confirm Password:</td>
				<td><input type="password" name="password2" value="" /></td>
			</tr>
			<tr><Td></Td></tr>
			<tr>
				<td colspan="2" align="center"><input type="submit" value="Register Now!""/></td>
			</tr>
			</table>
		</div>
		</form>
		</td>
		<td valign="top">
		<form action="<%=request.getContextPath()%>/signon.do" method="POST">

		<c:if test="${!empty forwardAction}">
			<input type="hidden" name="forwardAction"
				value="<c:url value="${forwardAction}"/>" />
		</c:if>
		<div align="left" class="lightred" width="400" height="500">
		<table width="400" height="200">
			<tr>
				<th colspan="3" height="25">Return Customer </th>
			</tr>
			<%  msg = (String)request.getAttribute("msg.login.fail");
			   if(null != msg){
			%><tr><td colspan="2" style="color:#ff0000"><%=request.getAttribute("msg.login.fail")%></td></tr><%       
			   }
			%>
			
			<tr>
				<td align="right">User Name:</td>
				<td><input type="text" name="username" value="" /></td>
			</tr>
			<tr>
				<td align="right">Password:</td>
				<td><input type="password" name="password" value="" /></td>
			</tr>
			<tr>
			    <td></td>
				<td><input name="keepOneDay" type="checkbox"/> Keep me
				signed in today. </td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="submit" value="Sign in" /> Forget
				<a href="">UserName</a> or <a href="">Password</a></td>
			</tr>
			</table>
		</div>

		</form>

		</td>
	</tr>
</table>
</td></tr>
<tr><td colspan="2"><%@ include file="includeBottom.jsp"%></td></tr>
</table>
</body>
</html>
